package com.wanmait.model.pojo;

import java.io.Serializable;

/**
    * 流程线表，反应流程的步骤
流程线是两个节点之间的连线。
要知道流程的下一步该怎么走，就要查这张表。
    */
public class ProcessLine implements Serializable {
    private Integer id;

    /**
    * 流程的编号
    */
    private Integer processNumber;

    /**
    * 上一个节点
    */
    private Integer prevNode;

    /**
    * 下个节点
    */
    private Integer nextNode;

    /**
    * 备注
    */
    private String remark;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProcessNumber() {
        return processNumber;
    }

    public void setProcessNumber(Integer processNumber) {
        this.processNumber = processNumber;
    }

    public Integer getPrevNode() {
        return prevNode;
    }

    public void setPrevNode(Integer prevNode) {
        this.prevNode = prevNode;
    }

    public Integer getNextNode() {
        return nextNode;
    }

    public void setNextNode(Integer nextNode) {
        this.nextNode = nextNode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", processNumber=").append(processNumber);
        sb.append(", prevNode=").append(prevNode);
        sb.append(", nextNode=").append(nextNode);
        sb.append(", remark=").append(remark);
        sb.append("]");
        return sb.toString();
    }
}